﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="edit-task.aspx.cs" Inherits="admin_edit_task" Debug="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" lang="heb"  dir="rtl">
<head id="Head1" runat="server">



<%--<style type="text/css">

#overlay {

position: fixed;

top: 0;

left: 0;

width: 100%;

height: 100%;

background-color: #000;

filter:alpha(opacity=70);

-moz-opacity:0.7;

-khtml-opacity: 0.7;

opacity: 0.7;

z-index: 100;

display: none;

}

.cnt223 a{

text-decoration: none;

}

.popup{

width: 100%;

margin: 0 auto;

display: none;

position: fixed;

z-index: 101;

}

.cnt223{

min-width: 600px;

width: 600px;

min-height: 150px;

margin: 100px auto;

background: #f3f3f3;

position: relative;

z-index: 103;

padding: 10px;

border-radius: 5px;

box-shadow: 0 2px 5px #000;

}

.cnt223 p{

clear: both;

color: #555555;

text-align: justify;

}

.cnt223 p a{

color: #d91900;

font-weight: bold;

}

.cnt223 .x{

float: right;

height: 35px;

left: 22px;

position: relative;

top: -25px;

width: 34px;

}

.cnt223 .x:hover{

cursor: pointer;

}

</style>
--%><%--<script type='text/javascript'>
    $(function () {
        var overlay = $('<div id="overlay"></div>');
        overlay.show();
        overlay.appendTo(document.body);
        $('.popup').show();
        $('.close').click(function () {
            $('.popup').hide();
            overlay.appendTo(document.body).remove();
            return false;
        });

        $('.x').click(function () {
            $('.popup').hide();
            overlay.appendTo(document.body).remove();
            return false;
        });
    });

</script>--%>

<title>Real estate</title>
    <link rel="shortcut icon" type="image/jpg" href="../images/logo/logo_feas.jpg" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.js"></script>
  <link href="https://rawgithub.com/hayageek/jquery-upload-file/master/css/uploadfile.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="https://rawgithub.com/hayageek/jquery-upload-file/master/js/jquery.uploadfile.min.js"></script>
<link href="//fonts.googleapis.com/css?family=Lato:400" rel="stylesheet" type="text/css">

<link href="css/datepicker.css" rel="stylesheet" type="text/css" />
<!--<script type="text/javascript" src="../js/sticky_footer.js"></script>-->
<link rel="stylesheet" type="text/css" href="../css/master.css"/>
<link rel="stylesheet" type="text/css" href="../css/dropBox.css"/>
<link rel="stylesheet" type="text/css" href="../css/menu.css"/>
<link rel="stylesheet" type="text/css" href="../css/tooltip.css"/>
<link rel="stylesheet" type="text/css" href="../css/buttons.css"/>
<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/base/jquery-ui.css"
        rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script>
   

<link rel="stylesheet" href="../css/validationEngine.jquery.css" type="text/css" media="screen" title="no title" charset="utf-8" />
<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address1").hide();
        $("#DropDownList2").change(function () {

            var x = $(this).val();

            if (x == "Yes") {
                $("#student_permanent_address1").show();
            }
            else {
                $("#student_permanent_address1").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#txtground").hide();
        $("#ddlground").change(function () {

            var x = $(this).val();

            if (x == "שדה למילוי עצמי") {
                $("#txtground").show();
            }
            else {
                $("#txtground").hide();
            }

        });
    });
</script>




<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox8").hide();
        $("#DropDownList11").change(function () {

            var x = $(this).val();

            if (x == "שדה למילוי עצמי") {
                $("#TextBox8").show();
            }
            else {
                $("#TextBox8").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#txtkitchen").hide();
        $("#ddlkitchen").change(function () {

            var x = $(this).val();

            if (x == "שדה למילוי עצמי") {
                $("#txtkitchen").show();
            }
            else {
                $("#txtkitchen").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox17").hide();
        $("#DropDownList25").change(function () {

            var x = $(this).val();

            if (x == "שדה למילוי עצמי") {
                $("#TextBox17").show();
            }
            else {
                $("#TextBox17").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox10").hide();
        $("#DropDownList15").change(function () {

            var x = $(this).val();

            if (x == "שדה למילוי עצמי") {
                $("#TextBox10").show();
            }
            else {
                $("#TextBox10").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox7").hide();
        $("#DropDownList12").change(function () {

            var x = $(this).val();

            if (x == "שדה למילוי עצמי") {
                $("#TextBox7").show();
            }
            else {
                $("#TextBox7").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#TextBox4").hide();
        $("#DropDownList7").change(function () {

            var x = $(this).val();

            if (x == "שדה למילוי עצמי") {
                $("#TextBox4").show();
            }
            else {
                $("#TextBox4").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#student_permanent_address2").hide();

        $("#DropDownList1").change(function () {

            var x = $(this).val();
            if (x == "Yes") {
                $("#student_permanent_address2").show();
            }
            else {
                $("#student_permanent_address2").hide();
            }

        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#txttoilets").hide();
        $("#DropDownList19").change(function () {

            var x = $(this).val();
            if (x == "שדה למילוי עצמי") {
                $("#txttoilets").show();
            }
            else {
                $("#txttoilets").hide();
            }

        });
    });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#txtfurniture").hide();
        $("#DropDownList18").change(function () {

            var x = $(this).val();
            if (x == "שדה למילוי עצמי") {
                $("#txtfurniture").show();
            }
            else {
                $("#txtfurniture").hide();
            }

        });
    }); 
</script>

 <script type="text/javascript">

     $(document).ready(function () {
         $("#txtpark").hide();
         $("#ddlparking").change(function () {

             var x = $(this).val();
             if (x == "שדה למילוי עצמי") {
                 $("#txtpark").show();
             }
             else {
                 $("#txtpark").hide();
             }

         });
     });
</script>

<script type="text/javascript">

    $(document).ready(function () {
        $("#cr").hide();
        $("#Button1").click(function () {


            $("#cr").show();


        });
    });
</script>
<script type="text/javascript">

    $(document).ready(function () {
        $("#Div19").hide();
        $("#DropDownList28").change(function () {

            var x = $(this).val();

            if (x == "Custom type") {
                $("#Div19").show();
            }
            else {
                $("#Div19").hide();
            }

        });
    });
</script> 

<style>
.imagePreview{margin-top:10px;}
        .imagePreview img {margin:10px;}
        article.styled .imagePreview img {
            padding:15px;
            border:2px dashed #ccc;
            border-radius:10px;
</style>
    <style type="text/css">
        .style1
        {
            width: 79px;
        }
       BODY {
    overflow-x:hidden;
}
    </style>
   


  <style>
      
    .form_placeholder_std table td {
    width: 60px;
}
      
    #content 
    {
        	min-height:550px;
	background-color: #FFFFFF;
	background-image: url(../images/bg/contentbg.png);
	min-width: 82%;
	margin-right:221px;
	height:100%;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
    }
    #leftcolumn {
	float: right;
	width: 220px;
	margin-left: -100%;
	min-height:550px;
	background-color: #FFF;
	background-image: url(../images/bg/sidebarbg.png);
	
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #CCC;
	height:100%;
	
}

.form_placeholder_std table td {
        }
    </style>
</head>
<body> 
<form id="form_std_register" class="form_control" runat="server">
 <input type="hidden" id="hdClient" runat="server" />

<div id="wrapper">
<div id="header"><a href="#"> <img src="../images/logo/logo_feas.png" alt="Logo" style="margin-top:7px;margin-left:7px;float:left;"> <img src="../images/logo/logo_feas2.png" alt="Logo" class="logo"></a>
    <div id="metaphors" align="right">
   
      
      <li id="btntheme"><a href="#"><span class="theme_icon"></span>Theme<span class="arrow"></span></a></li>
      <img src="../images/face1.png" class="user_icon">
      <li id="btnUser"><a href="#">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:label ID="Label1" runat="server" text="Label"></asp:label><span class="arrow"></span></a></li>
          <%-- <li><span class="logout_icon"></span>
          <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click">Logout</asp:LinkButton></li>--%>
      <div id="box3" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">email</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">email</div>
        </div>
      </div>
      <div id="box2" class="outerbox">
        <div id="box_inner3" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">alert</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">alert</div>
        </div>
      </div>
      <div id="box1" class="outerbox">
        <div id="box_inner1" class="innerbox">
          <div class="user_option1">
            <h4 class="opt_heading">Menu Bar</h4>
            <span id="show_menu" class="style">on</span><span id="hide_menu" class="style2">off</span></div>
        </div>
      </div>
      <div id="box" class="outerbox">
        <div id="box_inner" class="innerbox">
          <div class="user_option"><img src="../images/icons/user.png" class="opt_icon">Edit Profile</div>
          <div class="user_option"><img src="../images/icons/pencil.png" class="opt_icon">Change Password</div>
        </div>
      </div>
    </div>
    <!--End of the metaphor tag--> 
    
  </div>
  <!--End of the Header tag-->
  <div id="contentliquid">

    <div id="content">

      <div id="titalbar">
        <h1 style="float:right" >ערוך משימות </h1>
        
      </div>

      <div id="content_placeholder">
      <div id="Div3" class="form_placeholder_std">
            <div id="Div4" class="form_title"><img src="../images/icons/form.png">
              <h2>משימות והערות</h2>
            </div>
               <table style="text-align:right">
              <tr>
                <td rowspan="2" >סטטוס עסקה</td>
                <td><script type="text/javascript">

                        $(document).ready(function () {
                            $("#TextBox53").hide();
                            if ($("#DropDownList4").val() == "שדה למילוי עצמי") {
                                $("#TextBox53").show();
                            }
                            else {
                                $("#TextBox53").hide();
                            }
                            $("#DropDownList4").change(function () {

                                var x = $(this).val();
                                if (x == "שדה למילוי עצמי") {
                                    $("#TextBox53").show();
                                }
                                else {
                                    $("#TextBox53").hide();
                                }

                            });
                        });
</script>
                   <asp:DropDownList ID="DropDownList4" runat="server" CssClass ="combobox " 
                        >
                              <asp:ListItem>בחר</asp:ListItem>
                  <asp:ListItem>בלעדיות</asp:ListItem>
                  <asp:ListItem>בהסכמה</asp:ListItem>
                  <asp:ListItem>נמכר\הושכר</asp:ListItem>
                  <asp:ListItem>פרסום\מודעת נדל"ן</asp:ListItem>
                  <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                    </asp:DropDownList>
                
                </td>
                   <td rowspan="2" >נוצר ב <span style="color:#F00;"></span></td>
                <td rowspan="2">
                    <asp:TextBox ID="txtdate" runat="server"></asp:TextBox>
                  </td>
                <style>
                    .Calendar1 {overflow:hidden;
             position: absolute;
             float:right;
             width:5px;
             height:10px;
            
            right:0;
                }html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
                </style> 
             
 
                <td rowspan="2" > עידכון</td>
                <td rowspan="2">
                    <asp:TextBox ID="txtupdate" runat="server"  placeholder="DD-MM-YYYY" 
                        CssClass ="validate[optional]" Width="120px" ></asp:TextBox><br /><%-- <asp:ImageButton
                           ID="ImageButton1" runat="server" 
                        ImageUrl="~/images/icons/1381805717_calendar.png" Height="20" Width="20" 
                        onclick="ImageButton1_Click" /> </td>
           <td><asp:Calendar ID="Calendar1" CssClass="Calendar1" runat="server" 
                        BackColor="White" BorderColor="#999999" CellPadding="4" 
                        DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" 
                         visible="false">
                        <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
                        <NextPrevStyle VerticalAlign="Bottom" />
                        <OtherMonthDayStyle ForeColor="Gray" />
                        <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                        <SelectorStyle BackColor="#CCCCCC" />
                        <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" 
                            Height="20px" />
                        <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                        <WeekendDayStyle BackColor="#FFFFCC" />
                    </asp:Calendar>--%>
                    <asp:DropDownList ID="ddlhr" runat="server" Width="60px" CssClass ="combobox " >
                    
                        <asp:ListItem>שעה</asp:ListItem>
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                        <asp:ListItem>13</asp:ListItem>
                        <asp:ListItem>14</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>16</asp:ListItem>
                        <asp:ListItem>17</asp:ListItem>
                        <asp:ListItem>18</asp:ListItem>
                        <asp:ListItem>19</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>21</asp:ListItem>
                        <asp:ListItem>22</asp:ListItem>
                        <asp:ListItem>23</asp:ListItem>
                        <asp:ListItem>24</asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddlmint" runat="server" Width="60px" CssClass ="combobox " >
                 
                      <asp:ListItem>דקה</asp:ListItem>
                        <asp:ListItem>00</asp:ListItem>
                        <asp:ListItem>01</asp:ListItem>
                        <asp:ListItem>02</asp:ListItem>
                        <asp:ListItem>03</asp:ListItem>
                        <asp:ListItem>04</asp:ListItem>
                        <asp:ListItem>05</asp:ListItem>
                        <asp:ListItem>06</asp:ListItem>
                        <asp:ListItem>07</asp:ListItem>
                        <asp:ListItem>08</asp:ListItem>
                        <asp:ListItem>09</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                        <asp:ListItem>13</asp:ListItem>
                        <asp:ListItem>14</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>16</asp:ListItem>
                        <asp:ListItem>17</asp:ListItem>
                        <asp:ListItem>18</asp:ListItem>
                        <asp:ListItem>19</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>21</asp:ListItem>
                        <asp:ListItem>22</asp:ListItem>
                        <asp:ListItem>23</asp:ListItem>
                        <asp:ListItem>24</asp:ListItem>
                        <asp:ListItem>25</asp:ListItem>
                        <asp:ListItem>26</asp:ListItem>
                        <asp:ListItem>27</asp:ListItem>
                        <asp:ListItem>28</asp:ListItem>
                        <asp:ListItem>29</asp:ListItem>
                        <asp:ListItem>30</asp:ListItem>
                        <asp:ListItem>31</asp:ListItem>
                        <asp:ListItem>32</asp:ListItem>
                        <asp:ListItem>33</asp:ListItem>
                        <asp:ListItem>34</asp:ListItem>
                        <asp:ListItem>35</asp:ListItem>
                        <asp:ListItem>36</asp:ListItem>
                        <asp:ListItem>37</asp:ListItem>
                        <asp:ListItem>38</asp:ListItem>
                        <asp:ListItem>39</asp:ListItem>
                        <asp:ListItem>40</asp:ListItem>
                        <asp:ListItem>45</asp:ListItem>
                        <asp:ListItem>46</asp:ListItem>
                        <asp:ListItem>47</asp:ListItem>
                        <asp:ListItem>48</asp:ListItem>
                        <asp:ListItem>49</asp:ListItem>
                        <asp:ListItem>50</asp:ListItem>
                        <asp:ListItem>51</asp:ListItem>
                        <asp:ListItem>52</asp:ListItem>
                        <asp:ListItem>53</asp:ListItem>
                        <asp:ListItem>54</asp:ListItem>
                        <asp:ListItem>55</asp:ListItem>
                        <asp:ListItem>56</asp:ListItem>
                        <asp:ListItem>57</asp:ListItem>
                        <asp:ListItem>58</asp:ListItem>
                        <asp:ListItem>59</asp:ListItem>
                        <asp:ListItem>60</asp:ListItem>
                    </asp:DropDownList>
                  </td> 
                
                <tr>
                <td>
                    <asp:TextBox ID="TextBox53" runat="server"></asp:TextBox>
                
                </td>
                                   
                <tr>
                     

           
                <td rowspan="3" > <span id="Label16" style="display:inline-block;width:90px;">תזכורת 
                    מהירה</span> <span style="color:#F00;"></span></td>
                <td style="width: 220px;"><script type="text/javascript">

                        $(document).ready(function () {
                            $("#TextBox54").hide();
                            if ($("#DropDownList52").val() == "שדה למילוי עצמי") {
                                $("#TextBox54").show();
                            }
                            else {
                                $("#TextBox54").hide();
                            }
                            $("#DropDownList52").change(function () {

                                var x = $(this).val();
                                if (x == "שדה למילוי עצמי") {
                                    $("#TextBox54").show();
                                }
                                else {
                                    $("#TextBox54").hide();
                                }

                            });
                        });
</script>
                    <asp:DropDownList ID="DropDownList52" runat="server" Width="100px" CssClass ="combobox " >
                     <asp:ListItem>בחר</asp:ListItem>
                      <asp:ListItem>לטיפול מיידי</asp:ListItem>
                        <asp:ListItem>להתקשר</asp:ListItem>
                        <asp:ListItem>אין מענה</asp:ListItem>
                        <asp:ListItem>לפיקוח</asp:ListItem>
                        <asp:ListItem>להתקשר חזרה</asp:ListItem>
                        <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                    </asp:DropDownList>
                    <asp:TextBox ID="txtFR" runat="server" Width="90px" placeholder="DD-MM-YYYY" ></asp:TextBox>
                    </td>
                
                   
               <td rowspan="3" > סוכן</td>
                
                   
                <td rowspan="3"><asp:TextBox ID="txtagent" runat="server" ReadOnly="True" ></asp:TextBox> </td>
                          
               <td rowspan="3" >תת סוכן</td>
                <td rowspan="3"><asp:DropDownList ID="DropDownList6" runat="server" CssClass="combobox " 
                        DataSourceID="SqlDataSource4" DataTextField="f_name" DataValueField="f_name">
             </asp:DropDownList> 
                    <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:real_estateConnectionString %>" 
                        SelectCommand="SELECT [f_name] FROM [agent_add]"></asp:SqlDataSource>
                    </td>
                                                   
                <tr>
                     

           
                <td>
                    <asp:DropDownList ID="ddlhr0" runat="server" Width="60px" CssClass ="combobox">
                    
                        <asp:ListItem>שעה</asp:ListItem>
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                        <asp:ListItem>13</asp:ListItem>
                        <asp:ListItem>14</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>16</asp:ListItem>
                        <asp:ListItem>17</asp:ListItem>
                        <asp:ListItem>18</asp:ListItem>
                        <asp:ListItem>19</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>21</asp:ListItem>
                        <asp:ListItem>22</asp:ListItem>
                        <asp:ListItem>23</asp:ListItem>
                        <asp:ListItem>24</asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddlmint0" runat="server" Width="60px" CssClass ="combobox">
                 
                        <asp:ListItem>דקה</asp:ListItem>
                        <asp:ListItem>00</asp:ListItem>
                        <asp:ListItem>01</asp:ListItem>
                        <asp:ListItem>02</asp:ListItem>
                        <asp:ListItem>03</asp:ListItem>
                        <asp:ListItem>04</asp:ListItem>
                        <asp:ListItem>05</asp:ListItem>
                        <asp:ListItem>06</asp:ListItem>
                        <asp:ListItem>07</asp:ListItem>
                        <asp:ListItem>08</asp:ListItem>
                        <asp:ListItem>09</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                        <asp:ListItem>13</asp:ListItem>
                        <asp:ListItem>14</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>16</asp:ListItem>
                        <asp:ListItem>17</asp:ListItem>
                        <asp:ListItem>18</asp:ListItem>
                        <asp:ListItem>19</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>21</asp:ListItem>
                        <asp:ListItem>22</asp:ListItem>
                        <asp:ListItem>23</asp:ListItem>
                        <asp:ListItem>24</asp:ListItem>
                        <asp:ListItem>25</asp:ListItem>
                        <asp:ListItem>26</asp:ListItem>
                        <asp:ListItem>27</asp:ListItem>
                        <asp:ListItem>28</asp:ListItem>
                        <asp:ListItem>29</asp:ListItem>
                        <asp:ListItem>30</asp:ListItem>
                        <asp:ListItem>31</asp:ListItem>
                        <asp:ListItem>32</asp:ListItem>
                        <asp:ListItem>33</asp:ListItem>
                        <asp:ListItem>34</asp:ListItem>
                        <asp:ListItem>35</asp:ListItem>
                        <asp:ListItem>36</asp:ListItem>
                        <asp:ListItem>37</asp:ListItem>
                        <asp:ListItem>38</asp:ListItem>
                        <asp:ListItem>39</asp:ListItem>
                        <asp:ListItem>40</asp:ListItem>
                        <asp:ListItem>45</asp:ListItem>
                        <asp:ListItem>46</asp:ListItem>
                        <asp:ListItem>47</asp:ListItem>
                        <asp:ListItem>48</asp:ListItem>
                        <asp:ListItem>49</asp:ListItem>
                        <asp:ListItem>50</asp:ListItem>
                        <asp:ListItem>51</asp:ListItem>
                        <asp:ListItem>52</asp:ListItem>
                        <asp:ListItem>53</asp:ListItem>
                        <asp:ListItem>54</asp:ListItem>
                        <asp:ListItem>55</asp:ListItem>
                        <asp:ListItem>56</asp:ListItem>
                        <asp:ListItem>57</asp:ListItem>
                        <asp:ListItem>58</asp:ListItem>
                        <asp:ListItem>59</asp:ListItem>
                        <asp:ListItem>60</asp:ListItem>
                    </asp:DropDownList>
                    </td>
                
                   
                <tr>
                     

           
                <td>
                    <asp:TextBox ID="TextBox54" runat="server"></asp:TextBox>
                    </td>
                
                   
                <tr>
                
            <td> ייבא מסמך <span style="color:#F00;"></span></td>
              <td colspan="5">  
                  <asp:FileUpload ID="FileUpload2" runat="server" multiple />
                  
                   </td>
               
           </tr>
              <td colspan="6">  
                  <p>שם קובץ<span style="color:#F00;"></span></p>
    <div id="p" style="height:auto; margin-left:25px;"></div> 
               <asp:Repeater ID="FileRepeater" runat="server">
    <ItemTemplate>
        <asp:Label id="lblID" runat="server" Font-Bold="True"><%# Eval("FileName") %></asp:Label>
       
        
    </ItemTemplate>
</asp:Repeater>
</td> </tr> 

              <tr>
                <td rowspan="2"> דירוג </td>
                <td>
                <script type="text/javascript">

                    $(document).ready(function () {
                        $("#TextBox55").hide();
                        if ($("#DropDownList53").val() == "שדה למילוי עצמי") {
                            $("#TextBox55").show();
                        }
                        else {
                            $("#TextBox55").hide();
                        }
                        $("#DropDownList53").change(function () {

                            var x = $(this).val();
                            if (x == "שדה למילוי עצמי") {
                                $("#TextBox55").show();
                            }
                            else {
                                $("#TextBox55").hide();
                            }

                        });
                    });
</script>
                <asp:DropDownList ID="DropDownList53" runat="server" CssClass="combobox" >
                    <asp:ListItem>בחר</asp:ListItem>
                 <asp:ListItem>דחוף מאוד</asp:ListItem>
                        <asp:ListItem>דחוף</asp:ListItem>
                        <asp:ListItem>מוכן</asp:ListItem>
                        <asp:ListItem>קר</asp:ListItem>
                        <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                       </asp:DropDownList>
                    
                       
                    
                       </td>
               <td rowspan="2"> עמלה </td>
                <td rowspan="2"><asp:TextBox ID="txtcommsin" runat="server" Width="100px" ></asp:TextBox> 
                    <asp:DropDownList ID="DropDownList54" runat="server" Width="65px" CssClass ="combobox">
                     <asp:ListItem>בחר</asp:ListItem>
                     <asp:ListItem>%</asp:ListItem>
                        <asp:ListItem>₪</asp:ListItem>
                        <asp:ListItem>$</asp:ListItem>
                        <asp:ListItem>€</asp:ListItem>
                        <asp:ListItem>£</asp:ListItem>
                    </asp:DropDownList>
                       </td>
                <td rowspan="2">מפנה </td>
                <td>

                <script type="text/javascript">

                    $(document).ready(function () {
                        $("#TextBox56").hide();
                        if ($("#DropDownList55").val() == "שדה למילוי עצמי") {
                            $("#TextBox56").show();
                        }
                        else {
                            $("#TextBox56").hide();
                        }
                        $("#DropDownList55").change(function () {

                            var x = $(this).val();
                            if (x == "שדה למילוי עצמי") {
                                $("#TextBox56").show();
                            }
                            else {
                                $("#TextBox56").hide();
                            }

                        });
                    });
</script>

                    <asp:DropDownList ID="DropDownList55" runat="server" CssClass ="combobox ">
                     <asp:ListItem>בחר</asp:ListItem>
                        <asp:ListItem>מודעת אינטרנט</asp:ListItem>
                        <asp:ListItem>מנועי חיפוש</asp:ListItem>
                        <asp:ListItem>עיתון ארצי</asp:ListItem>
                        <asp:ListItem>עיתון מקומי</asp:ListItem>
                        <asp:ListItem> חבר \ משפחה</asp:ListItem>
                        <asp:ListItem>לקוח חוזר</asp:ListItem>
                        <asp:ListItem>דרך לקוח</asp:ListItem>
                        <asp:ListItem>עבודת שטח</asp:ListItem>
                        <asp:ListItem>מאגר נתונים נדל"ן</asp:ListItem>
                        <asp:ListItem>שיתוף פעולה עם מתווך\סוכן נדל"ן</asp:ListItem>
                        <asp:ListItem>אישי</asp:ListItem>
                        <asp:ListItem>שילוט</asp:ListItem>
                        <asp:ListItem>דרך המשרד</asp:ListItem>
                        <asp:ListItem>ברושור\ פליירים</asp:ListItem>
                        <asp:ListItem>בית פתוח</asp:ListItem>
                        <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                    </asp:DropDownList>
                     </td>
                     </tr>
                     <tr>
                <td>
                    <asp:TextBox ID="TextBox55" runat="server"></asp:TextBox>
                    
                       
                    
                       </td>
                <td>
                    <asp:TextBox ID="TextBox56" runat="server"></asp:TextBox>
                     </td>
                     </tr>
                     <tr>
                     
                <td>הערות </td>
                <td><asp:TextBox ID="txtcomment" runat="server"  TextMode ="MultiLine"></asp:TextBox> </td>
             
                 <td>תנאים </td>
             
                <td><asp:TextBox ID="txtterms" runat="server"  TextMode ="MultiLine"></asp:TextBox> </td>
</tr>   
<tr><script type="text/javascript">

        $(document).ready(function () {
            $("#txtdo").hide();
            if ($("#DropDownList28").val() == "שדה למילוי עצמי") {
                $("#txtdo").show();
            }
            else {
                $("#txtdo").hide();
            }
            $("#DropDownList28").change(function () {

                var x = $(this).val();
                if (x == "שדה למילוי עצמי") {
                    $("#txtdo").show();
                }
                else {
                    $("#txtdo").hide();
                }

            });
        });
</script>
                <td rowspan="2">לעשות</td>
                <td>  <asp:DropDownList ID="DropDownList28" runat="server" 
                      CssClass="combobox"  onChange="show_pnl()"
                     ClientIDMode="Static" 
                        >
                        <asp:ListItem>בחר</asp:ListItem>
                    <asp:ListItem>עדכון כללי</asp:ListItem>
                   <asp:ListItem>שיחה</asp:ListItem>
                   <asp:ListItem>נקבעה פגישה</asp:ListItem>
                   <asp:ListItem>לקבוע פגישה</asp:ListItem>
                   <asp:ListItem>להתקשר</asp:ListItem>
                   <asp:ListItem>להגיע למשרד</asp:ListItem>
                   <asp:ListItem>ראה</asp:ListItem>
                    <asp:ListItem>פרזנטציה\מצגת</asp:ListItem>
                   <asp:ListItem>גיוס</asp:ListItem>
                   <asp:ListItem>נחתם</asp:ListItem>
                   <asp:ListItem>בלעדיות</asp:ListItem>
                   <asp:ListItem>הסתיים</asp:ListItem>
                   <asp:ListItem>להראות נכס</asp:ListItem>
                   <asp:ListItem>לשלוח מייל</asp:ListItem>
                   <asp:ListItem>לשלוח הדעת טקסט</asp:ListItem>
                   <asp:ListItem>ממתין לתשלום</asp:ListItem>
                   <asp:ListItem>לא רוצה לשלם</asp:ListItem>
                   <asp:ListItem>נבדק</asp:ListItem>
                   <asp:ListItem>עמלה שולמה</asp:ListItem>
                   <asp:ListItem>בית פתוח</asp:ListItem>
                    <asp:ListItem>שיתוף פעולה</asp:ListItem>
                   <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
                
		 </asp:DropDownList></td>

               <td rowspan="2">סטטוס.</td>

                <td> <asp:DropDownList ID="DropDownList29" runat="server" 
                     CssClass="combobox" 
                     ClientIDMode="Static" >
                    <asp:ListItem>בחר</asp:ListItem>
                    <asp:ListItem>מו"מ</asp:ListItem>
                   <asp:ListItem>פתוח</asp:ListItem>
                   <asp:ListItem>הושלם</asp:ListItem>
            <asp:ListItem>שדה למילוי עצמי</asp:ListItem>
           
                
		 </asp:DropDownList></td>  <td rowspan="2">יום שלם</td>
                <td rowspan="2"> <asp:DropDownList ID="DropDownList30" runat="server" 
                     style="float:left;margin-top:0px;"   CssClass="combobox" 
                     ClientIDMode="Static" >
             <asp:ListItem>בחר</asp:ListItem>
                    <asp:ListItem>לא</asp:ListItem>
                   <asp:ListItem>כן</asp:ListItem>
                  
                
		 </asp:DropDownList></td> 
              </tr>
             
<tr>
                <td>  <asp:TextBox ID="txtdo" runat="server" ClientIDMode="Static" CssClass="validate[optional]"></asp:TextBox></td>

                <td> <asp:TextBox ID="TextBox78" runat="server"></asp:TextBox></td>  

              </tr>
             
<tr>
                <td>הערות למשימה</td>
                <td>  <asp:TextBox ID="txtmsg" runat="server"  TextMode ="MultiLine"></asp:TextBox> </td>

               <td>לעשות בתאריך</td>

                <td> 
                    <asp:TextBox ID="txttododate" runat="server"  placeholder="DD-MM-YYYY" 
                        CssClass ="validate[optional]" ></asp:TextBox> <br />
                    <asp:DropDownList ID="ddlhr1" runat="server" Width="60px" CssClass="combobox" >
                    
                       <asp:ListItem>שעה</asp:ListItem>
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                        <asp:ListItem>13</asp:ListItem>
                        <asp:ListItem>14</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>16</asp:ListItem>
                        <asp:ListItem>17</asp:ListItem>
                        <asp:ListItem>18</asp:ListItem>
                        <asp:ListItem>19</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>21</asp:ListItem>
                        <asp:ListItem>22</asp:ListItem>
                        <asp:ListItem>23</asp:ListItem>
                        <asp:ListItem>24</asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddlmint1" runat="server" Width="60px" CssClass="combobox" >
                 
                       <asp:ListItem>דקה</asp:ListItem>
                        <asp:ListItem>00</asp:ListItem>
                        <asp:ListItem>01</asp:ListItem>
                        <asp:ListItem>02</asp:ListItem>
                        <asp:ListItem>03</asp:ListItem>
                        <asp:ListItem>04</asp:ListItem>
                        <asp:ListItem>05</asp:ListItem>
                        <asp:ListItem>06</asp:ListItem>
                        <asp:ListItem>07</asp:ListItem>
                        <asp:ListItem>08</asp:ListItem>
                        <asp:ListItem>09</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                        <asp:ListItem>13</asp:ListItem>
                        <asp:ListItem>14</asp:ListItem>
                        <asp:ListItem>15</asp:ListItem>
                        <asp:ListItem>16</asp:ListItem>
                        <asp:ListItem>17</asp:ListItem>
                        <asp:ListItem>18</asp:ListItem>
                        <asp:ListItem>19</asp:ListItem>
                        <asp:ListItem>20</asp:ListItem>
                        <asp:ListItem>21</asp:ListItem>
                        <asp:ListItem>22</asp:ListItem>
                        <asp:ListItem>23</asp:ListItem>
                        <asp:ListItem>24</asp:ListItem>
                        <asp:ListItem>25</asp:ListItem>
                        <asp:ListItem>26</asp:ListItem>
                        <asp:ListItem>27</asp:ListItem>
                        <asp:ListItem>28</asp:ListItem>
                        <asp:ListItem>29</asp:ListItem>
                        <asp:ListItem>30</asp:ListItem>
                        <asp:ListItem>31</asp:ListItem>
                        <asp:ListItem>32</asp:ListItem>
                        <asp:ListItem>33</asp:ListItem>
                        <asp:ListItem>34</asp:ListItem>
                        <asp:ListItem>35</asp:ListItem>
                        <asp:ListItem>36</asp:ListItem>
                        <asp:ListItem>37</asp:ListItem>
                        <asp:ListItem>38</asp:ListItem>
                        <asp:ListItem>39</asp:ListItem>
                        <asp:ListItem>40</asp:ListItem>
                        <asp:ListItem>45</asp:ListItem>
                        <asp:ListItem>46</asp:ListItem>
                        <asp:ListItem>47</asp:ListItem>
                        <asp:ListItem>48</asp:ListItem>
                        <asp:ListItem>49</asp:ListItem>
                        <asp:ListItem>50</asp:ListItem>
                        <asp:ListItem>51</asp:ListItem>
                        <asp:ListItem>52</asp:ListItem>
                        <asp:ListItem>53</asp:ListItem>
                        <asp:ListItem>54</asp:ListItem>
                        <asp:ListItem>55</asp:ListItem>
                        <asp:ListItem>56</asp:ListItem>
                        <asp:ListItem>57</asp:ListItem>
                        <asp:ListItem>58</asp:ListItem>
                        <asp:ListItem>59</asp:ListItem>
                        <asp:ListItem>60</asp:ListItem>
                    </asp:DropDownList>
                    <br /></td>  <td>&nbsp;</td>
                <td> 
                    <asp:Button ID="Button5" runat="server" Text="שמור הערה\משימה" Width="120px" onclick="ok" />
                </td> 

              </tr>
             
               </table>
              
          
          </div>
          


          
       
         
           
          
           
          
          
   
           
           
          
           

         
          
         
      </div>
    </div>
  </div>
  
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="../js/jquery-1.8.0.min.js"></script>
<script src="../js/jquery.validationEngine-en.js" type="text/javascript"></script>
<script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/utility.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->
<script src="../js/bootstrap-modal.js"></script>
<!--<script src="../js/jquery.min.js"></script>-->

 <div id="leftcolumn">
 <div id="leftcolumn_top">
      <div id="createform" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Create Form</h1>
        </div>
        <div class="modal-body">
        <table id="tbl_task" class="model_popup_desgin">
  <tr>
    <td><p> You have a recent&nbsp;&nbsp&nbsp;&nbsp;update on date</p></td>
  </tr>
  <tr>
     
   
  </tr>
  <tr>
      
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button2" runat="server" Text="cancel" 
                CssClass="btn btn-success" Visible="False" />
             <p><a data-toggle="modal" href="#addtask1" class="btn btn-success" style="font-weight:bold;"><img src="../images/icons/task.png" style="margin-right:7px;" />View</a></p></div>
      </div>
       <div id="addtask1" class="modal hide fade in" style="display: none; ">
        <div class="modal-header"> <a class="close" data-dismiss="modal">x</a>
          <h1 style="font-size:15px;padding:7px;font-weight:bold;">Notification's</h1>
        </div>
        <div class="modal-body1">
        <table id="Table1" class="model_popup_desgin">
  <tr>
    <td>Date of Creation</td>
    <td><p><asp:Label ID="Label2" runat="server" Text="Label" Visible="False"></asp:Label></p></td>
  </tr>
     <tr>
    <td>Last Updated Updated</td>
    <td><p><asp:Label ID="Label3" runat="server" Text="Label"></asp:Label></p></td>
  <td>Choose Agent</td>
      <asp:DropDownList ID="DropDownList3" runat="server" CssClass ="combobox " 
                Visible="False">
      </asp:DropDownList>
 
     
  <tr>
    <td>Add Another Agent</td>
       <asp:TextBox ID="TextBox1" runat="server" Visible="False"></asp:TextBox>
  </tr>
  <tr>
    <td></td>
  </tr>
</table>

          
        </div>
        <div class="modal-footer">  <asp:Button ID="Button3" runat="server" Text="cancel" CssClass="btn btn-success" />
            </div>
      </div>
      
 </div>
      <ul id="nav" style=" text-align:right">
      <li><a href="dashboard.aspx"><img src="../images/icons/home.png" class="menu_icon">לוח מחוונים</a> </li>    <li><a href="#"><img src="../images/icons/form.png" class="menu_icon">הושכר</a>
        <ul>
          <li><a href="report_property_for_rent.aspx"><img src="../images/icons/tabs.png" class="menu_icon">נכס להשכרה</a></li> <li><a href="search_property_torent.aspx"><img src="../images/icons/tabs.png" class="menu_icon">לקוח רוצה לשכור</a></li>
        </ul></li><li><a href="search_buy_property.aspx"><img src="../images/icons/form.png" class="menu_icon">לקוח רוצה לקנות</a><li><a href="searh_sell_property.aspx"><img src="../images/icons/form.png" class="menu_icon">נכס למכירה</a></li>
      
  <%--    <li><a href="#"><img src="../images/icons/phone.png" class="menu_icon"> Requests Details</a>
        <ul>
          <li><a href="Add_New_Request.aspx"><img src="../images/icons/form.png" class="menu_icon">Requests </a></li>
  
        <li><a href="deleterequest.aspx"><img src="../images/icons/trash.png" class="menu_icon">Delete Requests </a></li>
       
          <li><a href="adminrequestreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">Reports</a></li>
        </ul>
      </li>--%>
          <li><a href="#"><img src="../images/icons/std2.png" class="menu_icon"> סוכן</a>
        <ul>
          <li><a href="add_agent.aspx"><img src="../images/icons/plus.png" class="menu_icon">סוכן להוסיף</a></li>
         
          <li><a href="deleteagent.aspx"> <img src="../images/icons/trash.png" class="menu_icon">מחיקת הסוכן</a></li>
          <li><a href="agentreport.aspx"><img src="../images/icons/pages.png" class="menu_icon">סוכן עריכה / דוחות</a></li>
        </ul>
      </li>
   <li><a href="admin_notes.aspx"><img src="../images/icons/search.png" class="menu_icon">פעולה ופעילות</a>
        <%--<ul>
          <li><a href="admin_notes.aspx"><img src="../images/icons/paste.png" class="menu_icon">Notes</a></li>
          
         
           <li><a href="search_tasks.aspx"><img src="../images/icons/notice.png" class="menu_icon">Tasks</a></li>
           <li><a href="Property_Sell_Buy_Rent.aspx"><img src="../images/icons/home.png" class="menu_icon">Property to Sell/Buy/Rent</a></li>
          
        </ul>--%>
      </li>
       <li><a href="#"><img src="../images/icons/id.png" class="menu_icon">פרטי חשבון</a>
        <ul>
          <li><a href="admin_account_information.aspx"><img src="../images/icons/id.png" class="menu_icon">עדכון פרטי חשבון</a></li>
         
          
        </ul>
      </li>
    <li style="margin-top:10px" ><iframe src="Admin_Module_small/Calendar.aspx" height="250" width="220" scrolling="no" frameborder="0"></iframe></li>
    <li><a href="dashboard.aspx"><img src="../images/icons/id.png" class="menu_icon"><strong>צפה לוח שנה מלאה</strong></a></li>
    </ul></div>
  

  


   <div id="footer">
    <p> Copyright &copy; 2013. <a href="http://www.iitechnology.in">iITechnology</a></p>
  </div>

</div>
 <script language="javascript">
     function ValidateFile(source, args) {
         try {
             var fileAndPath =
           document.getElementById(source.controltovalidate).value;
             var lastPathDelimiter = fileAndPath.lastIndexOf("\\");
             var fileNameOnly = fileAndPath.substring(lastPathDelimiter + 1);
             var file_extDelimiter = fileNameOnly.lastIndexOf(".");
             var file_ext = fileNameOnly.substring(file_extDelimiter + 1).toLowerCase();
             if (file_ext != "jpg") {
                 args.IsValid = false;
                 if (file_ext != "gif")
                     args.IsValid = false;
                 if (file_ext != "png") {
                     args.IsValid = false;
                     return;
                 }
             }
         } catch (err) {
             txt = "There was an error on this page.\n\n";
             txt += "Error description: " + err.description + "\n\n";
             txt += "Click OK to continue.\n\n";
             txt += document.getElementById(source.controltovalidate).value;
             alert(txt);
         }

         args.IsValid = true;
     }
    </script>
      
</form>
<script type="text/javascript" src="js/zebra_datepicker.js"></script>
        <script type="text/javascript">
            $(document).ready(function () {




                $('#' + '<%= txtFR.ClientID %>').Zebra_DatePicker();
                $('#' + '<%= txttododate.ClientID %>').Zebra_DatePicker();
                $('#' + '<%= txtupdate.ClientID %>').Zebra_DatePicker();
              


            });
        
        </script>
                <script type="text/javascript">
                    window.onload = function () {
                        GetDate();
                    };
                    function GetDate() {
                        var dt = new Date();
                        var dd;
                        var mm;
                        var yyyy;
                        var date;
                        var month;
                        hh = dt.getHours();
                        mi = dt.getMinutes();
                        mk = dt.getTime();
                        dd = dt.getDate();
                        mm = dt.getMonth() + 1;


                        document.getElementById('txtdate').value = dd + '/' + mm + '/' + dt.getFullYear() + ' ' + hh + '.' + mi;

                    }
</script>
</body>


</html>
